import React from 'react'
import { Input } from 'antd'
import { inject, observer } from 'mobx-react'

function newDepartment(props) {
    return (
        <div>
            <p>部门名称：</p>
            <div> <Input type="text" value={props.departmentSettingsStore.value} onChange={(e) => { props.departmentSettingsStore.setValue(e.target.value) }} /></div>
        </div>
    )
}
export default inject('departmentSettingsStore')(observer(newDepartment))
